MailPoet\Config\Initializer A

Total Complexity 62
Dependencies 53
Dependents 2
Total lines 568
Lines of code 333
Logical lines of code 186
Comment lines 61
Methods 33
Properties 36

Methods 33

Method Rating Maintainability Complexity Lines of code
init()
S
39 2 83
afterPluginActivation()
S
63 7 9
initialize()
S
49 4 34
maybeRunActivator()
S
57 5 17
setupUpdater()
S
59 4 14
postInitialize()
S
63 3 11
__construct()
S
47 1 37
setupWoocommerceTransactionalEmails()
S
67 3 8
setupWoocommerceBlocksIntegration()
S
69 3 7
runActivator()
S
64 3 10
preInitialize()
S
65 2 10
handleRunningMigration()
S
71 2 6
handleFailedInitialization()
S
71 2 6
setupUserLocale()
S
72 2 5
multisiteDropTables()
S
63 1 11
runDeactivation()
S
82 1 3
setupPersonalDataErasers()
S
77 1 4
setupEmailEditorIntegrations()
S
78 1 4
setupAutomaticEmails()
S
78 1 4
setupPermanentNotices()
S
82 1 3
setupConflictResolver()
S
77 1 4
setupPersonalDataExporters()
S
82 1 3
setupPrivacyPolicy()
S
77 1 4
setupPages()
S
75 1 4
setupCronTrigger()
S
80 1 3
setupImages()
S
80 1 3
setupShortcodes()
S
82 1 3
setupCapabilities()
S
76 1 4
setupLocalizer()
S
81 1 3
setupInstaller()
S
72 1 6
setupWidget()
S
81 1 3
pluginsLoaded()
S
82 1 3
setupDeactivationPoll()
S
75 1 4